package com.promise.jokerdream.model.formation

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

// 佣兵助阵属性
@Serializable
data class FormationAttrModel(
    // 属性等级
    val level: Int = 0,
    // 当前经验
    @SerialName("curexp")
    val curExp: Int = 0,
    // 需要的经验值
    val exp: Int = 0,
    // 属性类型
    val type: Int = 0,
    // 属性增加的数量
    val value: Int = 0,
)

// 属性类型对应的文案
val attrMap = mapOf(
    1 to "命中率",
    2 to "闪避率",
    3 to "暴击率",
    4 to "暴击伤害",
    5 to "暴击率减免",
    6 to "暴击伤害减免",
    7 to "技能伤害",
    8 to "技能减免",
    9 to "大型伤害",
    10 to "大型减免",
    11 to "中型伤害",
    12 to "中型减免",
    15 to "生命值",
    16 to "力量",
    17 to "速度",
    18 to "敏捷",
    19 to "投掷伤害",
    20 to "投掷减免",
    21 to "小型伤害",
    22 to "小型减免",
    34 to "技能穿透",
    35 to "大型穿透",
    36 to "中型穿透",
    37 to "投掷/小型穿透",
    38 to "空手伤害",
    39 to "空手减免",
    46 to "大型命中",
    47 to "大型闪避",
    48 to "中型命中",
    49 to "中型闪避",
    50 to "小型命中",
    51 to "小型闪避",
    52 to "投掷命中",
    53 to "投掷闪避",
    109 to "大型韧性",
    110 to "中型韧性",
    111 to "小型韧性",
    112 to "投掷韧性",
    113 to "技能韧性",
    114 to "抗大型韧性",
    115 to "抗中型韧性",
    116 to "抗小型韧性",
    117 to "抗投掷韧性",
    118 to "抗技能韧性",
    121 to "抗技能穿透",
    122 to "抗大型穿透",
    123 to "抗中型穿透",
    138 to "抗投掷穿透",
    139 to "抗小型穿透",
)
